package com.bot.edu.informationmanage.cls.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 班级表
 * @Author: jeecg-boot
 * @Date:   2022-03-30
 * @Version: V1.0
 */
@Data
@TableName("cls")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cls对象", description="班级表")
public class Cls implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**班级编号*/
	@Excel(name = "班级编号", width = 15)
    @ApiModelProperty(value = "班级编号")
    private String classId;
	/**班级名称*/
	@Excel(name = "班级名称", width = 15)
    @ApiModelProperty(value = "班级名称")
    private String className;
	/**开课时间*/
	@Excel(name = "开课时间", width = 15)
    @ApiModelProperty(value = "开课时间")
    private java.util.Date curriculumTime;
	/**班级状态*/
	@Excel(name = "班级状态", width = 15, dicCode = "CLASS_STATES")
	@Dict(dicCode = "CLASS_STATES")
    @ApiModelProperty(value = "班级状态")
    private String classState;
	/**专业*/
	@Excel(name = "专业", width = 15, dictTable = "major", dicText = "major_name", dicCode = "major_id")
	@Dict(dictTable = "major", dicText = "major_name", dicCode = "major_id")
    @ApiModelProperty(value = "专业")
    private String majorId;
	/**班级阶段*/
	@Excel(name = "班级阶段", width = 15, dictTable = "class_stage", dicText = "class_stage_name", dicCode = "class_stage_id")
	@Dict(dictTable = "class_stage", dicText = "class_stage_name", dicCode = "class_stage_id")
    @ApiModelProperty(value = "班级阶段")
    private String classStageId;
	/**班级人数*/
	@Excel(name = "班级人数", width = 15)
    @ApiModelProperty(value = "班级人数")
    private Integer classNum;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    private Integer delFlag;
	/**课程*/
	@Excel(name = "课程", width = 15)
    @ApiModelProperty(value = "课程")
    private String courseId;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")

    private String sysOrgCode;
    @Excel(name = "老师id", width = 15, dictTable = "teacher", dicText = "teacher_name", dicCode = "teacher_id")
    @Dict(dictTable = "teacher", dicText = "teacher_name", dicCode = "teacher_id")
    @ApiModelProperty(value = "老师id")
    private String teacherId;


}
